package com.pkx.cloud.fse7.dms.realtimestate.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 *
 * 
 * @author ly
 * @since 2020-10-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("DmsRealTimeState")
@ApiModel(value="RealTimeState对象", description="")
public class RealTimeState implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "防撬报警 1:报警 0:正常")
    @TableField("AntipryAlarm")
    private Integer AntipryAlarm;

    @ApiModelProperty(value = "设备类别标识码")
    @TableField("DevTypeCode")
    private String DevTypeCode;

    @ApiModelProperty(value = "非法刷卡报警 1: 报警0:正常")
    @TableField("IllegalCardAlarm")
    private Integer IllegalCardAlarm;

    @ApiModelProperty(value = "门状态 -1断连接 0 正常连接并门闭关 1 正常连接并门打开")
    @TableField("DoorState")
    private Integer DoorState;

    @ApiModelProperty(value = "开门超时报警 1:报警 0:正常")
    @TableField("TimeOutAlarm")
    private Integer TimeOutAlarm;

    @ApiModelProperty(value = "唯一标示")
    @TableField("Rid")
    private String Rid;

    @ApiModelProperty(value = "设备号")
    @TableField("DevNo")
    private Long DevNo;

    @ApiModelProperty(value = "最后更新时间")
    @TableField("UpDate")
    private Date UpDate;

    @ApiModelProperty(value = "胁迫报警 1 :报警0:正常")
    @TableField("DuresseAlarm")
    private Integer DuresseAlarm;

    @ApiModelProperty(value = "非法闯入报警 1 :报警0:正常")
    @TableField("IntrudeAlarm")
    private Integer IntrudeAlarm;

    @ApiModelProperty(value = "门号")
    @TableField("DoorNo")
    private Long DoorNo;

    @ApiModelProperty(value = "消防报警 1:报警 0:正常")
    @TableField("FireControlAlarm")
    private Integer FireControlAlarm;

    @ApiModelProperty(value = "项目编号")
    @TableField("Gid")
    private String Gid;

    @ApiModelProperty(value = "主键")
    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;


}
